gsk: Change the profiler setup
authorMatthias Clasen <mclasen@redhat.com>
Thu, 28 Sep 2017 14:26:01 +0000 (10:26 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 28 Sep 2017 14:26:01 +0000 (10:26 -0400)
commit72d043d51f0d00366d5c170610ca5d60aae78c68
tree4f862a4ca139831105142f343fb7ce08d1fe8548
parent767966933da11b626b9d53510b30179c9b1a41f6
gsk: Change the profiler setup

Move away from the idea of intra-frame sampling, since we only
push samples once per frame, anyway. Instead, make the profiler
keep a rolling average of the last n frames.
gsk/gskrenderer.c